﻿using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace _12306helper.Common
{
    public class JsonHelper
    {
        public static T FromJson<T>(string source)
        {
            T t=JsonConvert.DeserializeObject<T>(source);
            return t;
        }
    }
}
